<?php
var_dump($_COOKIE);
$myid = isset($_COOKIE["myId"])?$_COOKIE["myId"]:null;
if($myid) echo "welcome";
else echo "access denied";
?>